<?php
/**
 * Created by PhpStorm.
 * User: wangzhen
 * Date: 2022/2/22
 * Time: 4:05 PM
 */

 namespace App\Admin\Field;



use Dcat\Admin\Form\Field;
use Illuminate\Contracts\Support\Renderable;

class IntervalWeekNum extends Field implements Renderable
{
    public $fields=[];

    public function setFields($fields){

        $this->fields=$fields;
    }
    /**
     * Render the row.
     *
     * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
     */
    public function render()
    {
        return admin_view('admin.interval_week_num', ['fields' => $this->fields]);
    }
}